﻿using Lightworks.System.Dto;
using Lightworks.System.Models;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lightworks.System.Services
{
    public interface IResourceService 
    {
        MyResourceRes GetResourceByUser(string username);
        List<Resource> GetAll();
        List<string> GetPermsByUser(User user);
        long Save(Resource resource);
        bool Delete(long[] ids);        
    }
}
